package com.bpmn.flow.controller.query;

import com.bpmn.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author rain
 */
@EqualsAndHashCode(callSuper = true)
@Schema(description = "流程实例分页Request")
@Data
public class ProcessInstanceQuery extends PageParam {

    @Schema(description = "流程名称", example = "请假")
    private String name;

    @Schema(description = "流程定义的标识", example = "2048")
    private String processDefinitionKey;

    @Schema(description = "业务id", example = "1234")
    private String businessKey;

    @Schema(description = "流程分类", example = "1")
    private String category;

    @Schema(description = "发起用户编号", example = "1024")
    private String startUserId;

    @Schema(description = "流程实例的状态", example = "1")
    private String status;

}
